﻿/* CSS Document */
*{
    margin: 0;
    padding: 0;
}
body
{
    font-size: 16px;
    margin:0 auto
}
#wrapper {
	width:100%;
	margin:0 auto;/*trang luon canh giua*/
}
a
{
	text-decoration:none;
}
a:hover{
	text-decoration:underline;
	color:#F63;
}

.clear {clear: both;}
.td_lable
{
    width:140px;
    font-weight:600;
    color:#606060;
    padding-top:15px;
}
#tl_headtop
{
	width:1280px;
	height:25px;
	background-color: #09F;
	float:left;
}
#tl_head
{
	width:1280px;
	height:auto;
	float:left;
	margin:0 auto;
	background-color:#FFF;
}
#tl_head_menu
{
	width:auto;
	height:60px;
	/*
	margin:25px 0 25px 0 ;
*/
    margin:0 auto;
	padding:25px 0 25px 0;
	
}
.tl_head_menu_home
{
	width:85px;
	height:60px;
	float:left;
	margin: 0 2px 0 140px ;
	display:inline;
	text-align:center;
	font-size:24px;
	line-height:55px;/*-----canh trên dưới-----*/
	background-color:#C15733;
}
.tl_head_menu_home a
{
   color:#FFF;   
}
.tl_head_menu_item
{
	width:90px;
	height:60px;
	float:left;
	margin: 0 0 0 2px ;
	display:inline;
	text-align:center;
	font-size:20px;
	color:#4BAFBA;
	line-height:55px;
	background-color:#E0E0DE;
}
.tl_head_menu_item a
{
	width:90px;
	height:60px;
	float:left;
	display:inline;
	text-align:center;
	text-decoration:none;
	font-size:20px;
	color:#4BAFBA;
	line-height:55px;/*-----canh trên dưới-----*/
	background-color:#E0E0DE;
}
.tl_head_menu_item a:hover
{
	width:90px;
	height:60px;
	float:left;
	display:inline;
	text-align:center;
	text-decoration:none;
	font-size:20px;
	color:#4BAFBA;
	line-height:55px;/*-----canh trên dưới-----*/
	background-color:#CCC;
}
.tl_head_menu_search
{
	width:625px;
	height:60px;
	float:left;
	margin: 0 0 0 2px ;
	display:inline;
	text-align:center;
	font-size:20px;
	color:#4BAFBA;
	line-height:55px;
	background-color:#E0E0DE;
}
.tl_head_menu_search_text
{
	width:600px;
	height:20px;
	float:left;
	margin: 15px 0 20px 20px ;
	display:inline;
	text-align:center;
	font-size:20px;
	color:#4BAFBA;
	line-height:15px;
}
/* MENU
----------------------------------------------------------*/
#tl_menu
{
	width:1280px;
	height:30px;
	background-color:#F4F8EE;
	float:left;
	color:white;
	/*
	position:absolute;
	top:130px;
	left:0;
	*/
}
.tl_menu_acc
{
	display: inline;
	float: right;
	height:30px;
	padding-right:50px;
}
.btn{
    display: block;
	width: 150px;
	height: 25px;
	font-weight: bold;
	float: right;
	padding-right:30px;
	padding-left:10px;
    text-align:left;
    color:#000000;    
}

.btn:hover{
    background-position: -5px -120px;
}
.tl_menu_acc ul li
{
    padding-top:5px;
	list-style:none;
}
.tl_menu_acc ul li ul{
	display:none;
    position:absolute;/*important*/
    margin-top:25px;
    width:150px;
    color:#000000;
    /*
 position:absolute;/*important
    margin-top:25px;
*/
    background:#E0E0DE;
}
.tl_menu_acc ul li:hover ul{
    display:block;
	padding:15px;
	line-height:20px;
}
.tl_menu_acc ul li ul a
{
    color:#000000;
}
.tl_menu_acc ul li a:hover{
    color:#4BAFBA;
}
li:hover span{  color:#4BAFBA; display:block;} 
li:hover div{  background-position: -5px -120px; color:#4BAFBA;}

/* Container  
----------------------------------------------------------*/
#tl_container
{
	width:1280px;
	height:auto;
    float:left;
    margin:a auto;
	margin: 10px 0 10px 0;
	background-color:#FFF;
}
.tl_btn
{
    width:auto;
    height:26px;
    background-color:#E0E0DE;
    padding:3px 5px 5px 5px;
    color:#333;
    margin:2px 0 0 0;
}
.tl_btn:hover
{
    background-color:#E0E0DE;
    border:1px solid #22ba40;-webkit-box-shadow: #4BAFBA 2px 2px 2px  ;-moz-box-shadow: #4BAFBA 2px 2px 2px ; box-shadow: #4BAFBA 2px 2px 2px;
}
/* LEFT   
----------------------------------------------------------*/
#tl_left_sidebar
{
	/*width:200px; cu*/
	width:200px;
	height:auto;
	margin: 0 0 0 140px;
	display:inline; /*khac phuc float left va double margin-left*/
	float:left;
    background-color:#FFF;	
}
.tl_left_sidebar_title{
	width:180px;
	height:35px;
	float:left;
	margin:0 0 0 0;
	line-height:33px;
	/*background-color:#CCC;*/
	padding-left: 20px;
	font-weight:bolder;
	color:#4BAFBA;
}
.tl_category{
	width: 170px;
	float: left;
	margin: 0 10px 0 10px;
	display:inline;
    background-color:#F4F8EE;
}
.tl_category ul {
	background-color:#F4F8EE;
	margin: 0px;
	padding: 0px;
	list-style:none ;
}
.tl_category a
{
	display:block;
	width: 160px;
	height: 25px;
	padding-left: 10px;
	padding-top:5px;
	text-decoration:none;
	font-size:15px;
	font-weight:bold;
	background-color:#F4F8EE;
    border-bottom:1px #5b5b5b dashed;/*gạch đứt khúc*/
    color:#4BAFBA;
}
.tl_category ul li a:visited,a.linked{
	 /*border-bottom:1px #5b5b5b dashed;   gạch đứt khúc*/
    color:#4BAFBA;
}
.tl_category ul a:hover {
	background-color:#CCFFFF;
	color:#4BAFBA;
	text-decoration:none;
}
.tl_left_sidebar_box
{
	/*width:200px; cu*/
	width:200px;
	height:auto;
	display:inline; /*khac phuc float left va double margin-left*/
	float:left;
    margin:0 0 10px 0;
    background-color:#F4F8EE;	
    
}
.tl_support
{
   padding-left:20px;
}
.tl_left_sidebar_box ul li
{
    list-style: none;
}
/* CONTENT
-----------------------------------------------------------*/
.tl_content
{
    width:78%;
    height:auto;
    float:left;
    margin: 0 0 0 145px;
    /*padding-left:10px;*/
    background-color:#F4F8EE;
    position:inherit;
    top:0;
    left:0;
}
.tl_dangnhap
{
    width:auto;
    height:auto;
    float:left;
    padding-left:20px;
    position:relative;
    top:0px;
    left:30%;

}
.tl_dangky
{
    width:auto;
    height:auto;
    float:left;
    padding-left:20px;
    position:relative;
    top:0px;
    left:25%;

}
.tl_title_home
{
    width:700px;
    height:30px;
    float:left;
    text-align:left;
    font-family:Tahoma;font-weight:bold;font-size:14px;
    display:inline;
    margin: 0 0 0 10px;
    line-height:30px;
}
.tl_title_product_view
{
    width:1000px;
    height:30px;
    float:left;
    text-align:left;
    font-family:Tahoma;font-weight:bold;font-size:14px;
    display:inline;
    margin: 0 0 0 10px;
    line-height:30px;
}
/* RIGHT
-----------------------------------------------------------*/
#tl_right_sidebar{
	/*width:800px;*/
	width:780px;
	height:auto;
	float:left;
	padding-left:20px;
	background-color:#FFF;
}

/* USER
-----------------------------------------------------------*/
.tl_user_sidebar{
	/*width:800px;*/
	width:780px;
	height:auto;
	float:left;
	padding-left:5px;
	background-color:#FFF;
}
.tl_box_user
{
    width:200px;
    height:auto 0;
    float:left;
    padding-left:10px;
    color:#808080;
}
.tl_user_img
{
    width:60px;
    height:60px;
    float:left;
    display:inline;
    margin:0 10px 0 10px;
}
.tl_user_profile
{
    width:200px;
    height:auto;
    float:left;
    text-align:left;
    display:inline;
    margin:0 0 10px 0;
    padding-left:5px;
}
/*-----------Footer-------------*/
#tl_footer
{
	width:1280px;
	height:100px;
	background-color: #CCC;
	float:left;
}


/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.adminRichText
{
    width:250px;
    float:left;
}
.display-label, 
.editor-label {
    margin: 1em 0 0 0;
    color:#404040;
    font-weight:bold;
    background-color:#F8F8FF;
    padding-top:5px;padding-bottom:5px;
}

.display-field, 
.editor-field {
    margin: 0.5em 0 0 0;

    height:20px;
    line-height:20px;
}

.text-box {
    /*width: 30em;*/
    width:200px;
    height:25px;
}

.text-box.multi-line {
    height: 6.5em;
}
.tri-state {
    width: 6em;
}
/* Pager 
---------------------------------------------*/
.tl_pagination 
{
	text-align: center;
	margin: 15px;
	width:540px;
    float:left;
}
.tl_pagination .tl_current
{
    background-color:#FFFF66 ;
    border-radius: 5px;
    color:Green;
    padding: 4px 8px;
   
}

.tl_pagination a
 {
    background-color: #FFFFFF;
    border: 1px solid #86B5EE;
    border-radius: 5px;
    padding: 3px 7px 4px;    
    color: #61ACEA;
    text-decoration:none;
    margin-left:2px;
}

.tl_pagination a:hover 
{
	background-color:#FBEFBD;
}
